CREATE TABLE [dbo].[SchemaChanges](
	[Id] [int] IDENTITY(1,1) NOT NULL,
	[Major] [int] NOT NULL,
	[Minor] [int] NOT NULL,
	[Point] [int] NOT NULL,
	[ScriptName] [varchar](50) NOT NULL,
	[DateApplied] [datetime] NOT NULL,
 CONSTRAINT [PK_SchemaChanges] PRIMARY KEY NONCLUSTERED 
(
	[Id] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

CREATE CLUSTERED INDEX [IX_Major] ON [dbo].[SchemaChanges] 
(
	[Major] ASC,
	[Minor] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
GO

INSERT INTO SchemaChanges (Major,Minor,Point,Scriptname,DateApplied)
	VALUES (0,0,1,'CreateSchemaChangeLog.sql',GETDATE())
GO